// Project name:JavaRedis
// Creator:muhong
// Date time:2023/7/31,2:28 下午
// Name:ReferenceCounted

package io.gmh.util;

public interface ReferenceCounted {
    int refCnt();

    ReferenceCounted retain();

    ReferenceCounted retain(int increment);

    ReferenceCounted touch();

    ReferenceCounted touch(Object hint);

    boolean release();

    boolean release(int decreament);
}
